package com.raising.modules.code.entity;

import java.io.Serializable;

/**
 * 树共用实体类
 * @author GaoYuan
 * @datetime 2018/1/4 下午3:33
 */
public class TreeNodeVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**标识*/
    private String id;
    /**父级标识*/
    private String pId;
    /**名称*/
    private String name;
    /**是否是最后*/
    private String foot;


    public TreeNodeVo(){}

    public TreeNodeVo(String id,String pId,String name,String foot){
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.foot = foot;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFoot() {
        return foot;
    }

    public void setFoot(String foot) {
        this.foot = foot;
    }

    @Override
    public String toString() {
        return "TreeNodeVo{" +
                "id='" + id + '\'' +
                ", pId='" + pId + '\'' +
                ", name='" + name + '\'' +
                ", foot='" + foot + '\'' +
                '}';
    }
}
